/* InventoryDataSource */

#import <Cocoa/Cocoa.h>
#import "Order.h"

@interface InventoryDataSource : NSObject
{
	NSMutableArray *items;
	NSMutableArray *orders;
	IBOutlet NSTableView *table;
	IBOutlet NSSearchField *searchField;
}
-(IBAction) addItem:(id)sender;
-(IBAction) addOrder:(id)sender;
-(IBAction) save:(id)sender;
-(IBAction) open:(id)sender;
-(IBAction) search:(id)sender;

-(id) tableView:(NSTableView *)tableView objectValueForTableColumn:(NSTableColumn *)tableColumn row:(int)row;
-(void) tableView:(NSTableView *)tableView setObjectValue:(id)object forTableColumn:(NSTableColumn *)tableColumn row:(int)row;

@end
